package com.haoniu.common.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * 描述:
 * 阿里云云存储
 *
 * @author shilvfei
 * @create 2018-11-16 12:20
 */
public interface AliOssService {

    /**
     * 获取文件根地址
     * @return
     */
    String getFileBaseUrl();

    String getToken();

    String uploadFile(MultipartFile uploadFile, String type) throws Exception;
}
